Detection of turbulence in fluids

ABSTRACT

A method of identifying the presence of turbulence in fluids, e.g. for distinguishing flames from other hot bodies, examines the correlation between adjacent pixels of an array viewing the fluid and particularly the proportion of negative correlation in the presence of strong positive correlation.

BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention

[0002] The present invention relates to the detection of turbulence in fluids, and is particularly applicable to determining whether a hot body viewed by a thermal detector array is a flame.

[0003] 2. Description of the Related Art

[0004] In flame detection, it is useful to be able to distinguish flame signals (the majority of which are dominated by low frequency modulation) from other low frequency events (false alarms). These false alarms generally emanate from some stationary hot black body (e.g.: the sun, electric fire) which are modulated by objects that move between them and the detector, creating modulated signals that can look very like flames.

[0005] In contrast, fires create turbulence when the burning fuel creates balls of hot gas. So, given that the fire is positioned such that it covers more than one pixel on the array, this turbulence will manifest itself in the image. In particular, this work focuses on the differences and similarities between a pixel's time-series data and those of its horizontal and vertical neighbors. The novelty of this invention lies in the use of statistical measurement of variation as a pattern recognition procedure.

[0006] GB-A-2269454 discloses a method of flame detection by imaging. It is a tenet of this method that an image of a flame will have a structure such that its measurement over time will identify the various regions of the flame. Cross-correlation techniques are used, but these are standard statistical measures used in numerous applications.

[0007] Our earlier patent application GB-A-2366369 (Upwards Correlation) discloses a method of identifying turbulence in fluids based on the progression of flame features in a single direction within a flame cluster. Thus this method needs to track over time and assumes some underlying structure in the flame cluster, whereas the new invention always works at zero lag and makes no assumptions about spatial organization.

[0008] A difficulty of Upwards Correlation in practice occurs when the speed of thermal bleed (described below) matches the speed of flame movement. Under these circumstances, it becomes impossible to accurately quantify the correlation of features between adjacent pixels. Thus with Upwards Correlation, we can get both false positives and negatives in flame detection. The new invention looks primarily for extremes in negative correlation—a situation which is not affected by thermal bleed.

SUMMARY OF THE INVENTION

[0009] The invention generally relates to a method of identifying the presence of turbulence in fluids, e.g. for distinguishing flames from other hot bodies, examines the correlation between adjacent pixels of an array viewing the fluid and particularly the proportion of negative correlation in the presence of strong positive correlation.

[0010] The present invention provides a method of identifying the presence of turbulence in a fluid comprising:

[0011] forming a two dimensional image of the fluid divided into a two dimensional array of pixels;

[0012] periodically obtaining a signal indicating the amount of radiation emitted from each part of the fluid corresponding to a pixel;

[0013] for each pair of adjacent pixels, periodically calculating a coefficient relating to the correlation of signals from the two pixels in the pair;

[0014] examining the distribution of correlation coefficient values; and

[0015] identifying whether turbulence is present on the basis of the relative proportions of positive and negative correlation values.

BRIEF DESCRIPTION OF THE DRAWINGS

[0016] So that the manner in which the above recited features of the present invention can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings. It is to be noted, however, that the appended drawings illustrate only typical embodiments of this invention and are therefore not to be considered limiting of its scope, for the invention may admit to other equally effective embodiments.

[0017]FIG. 1 comprises two graphs comparing signals from two adjacent pixels, one shown in solid line and one shown in dotted line, representing events having different frequencies.

[0018]FIG. 2 shows an image formed on a 16×16 array in which two clusters of pixels possible representing flames have been identified.

[0019]FIG. 3 shows the cross correlation neighborhood for a single pixel.

[0020]FIG. 4 is a set of graphs showing the distribution of cross correlation values for a flame, a welding source and modulated sunlight.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

[0021] As will be explained in more detail below, the invention is based on the discovery that for flames, the characteristic distribution of correlation values includes significant negative correlation in the presence of strong positive correlation.

[0022] In contrast with the method described in our earlier patent application mentioned above, the present invention may work at zero lag and makes no assumptions about spatial organization.

[0023] The invention enables identification of turbulence without reference to its orientation, and without reference to regions. Thus it could identify a flame or other turbulent fluid even if it was only partly within the image.

[0024] Numerical Theory

[0025] The similarity or cross-correlation of the signal between adjacent pixels can be measured using the ‘population correlation coefficient’. This is a standard statistical technique that yields a number, which lies in the range −1 to +1. A value of +1 indicates perfect correlation (the two signals are the same), 0 indicates no correlation (the signals are unrelated), and −1 indicates that the signals are negatively correlated (one is the exact inverse of the other). Most values obtained will lie somewhere between these landmarks. The population correlation coefficient, r is given by:

r=C(x, y)/s _(x) s _(y)  (1)

[0026] That is, the covariance of the time series from pixels x and y, divided by the product of their standard deviations. The covariance and variance are defined as: $\begin{matrix} {{{C\left( {x,y} \right)} = {\sum\limits^{\quad}\quad {\left( {x - \overset{\_}{x}} \right){\left( {y - \overset{\_}{y}} \right)/\left( {n - 1} \right)}}}},} & (2) \end{matrix}$

[0027] n being the length of the time series. $\begin{matrix} \begin{matrix} {s_{x}^{2} = {\sum\limits^{\quad}\quad {\left( {x - \overset{\_}{x}} \right){\left( {x - \overset{\_}{x}} \right)/\left( {n - 1} \right)}}}} \\ {s_{y}^{2} = {\sum\limits^{\quad}\quad {\left( {y - \overset{\_}{y}} \right){\left( {y - \overset{\_}{y}} \right)/\left( {n - 1} \right)}}}} \end{matrix} & (3) \end{matrix}$

[0028] It is unnecessary to correlate over different lags for this work since it is precisely at zero lag that any differences in the signals of adjacent pixels have the greatest significance. This is an advantage because it cuts processing to a minimum.

[0029] The method of the invention has been developed for use with arrays of pyroelectric detector elements for the purpose of identifying flames. However it will be appreciated that the invention may have other applications. Examples of suitable arrays are described in our earlier European patent application EP-A-0853237.

[0030] Rationale

[0031] The signal pattern generated from sources with complex modulation can be difficult to interpret on pyroelectric detectors that do not have a flat frequency response. The current invention is an example of a ‘data-driven’ approach which, rather than attempting to recover the nature of the signal before it reaches the array (and is transformed by it in a complex fashion), seeks to find features in the data as it presents on the array.

[0032] The preferred method according to this invention uses an array whose detector elements are not completely thermally isolated, preferably constructed from a single piece of material, and thus exploits the phenomenon of thermal bleed that is found in multi-element pyroelectric detectors. Thermal bleed is evident when a signal from any source reaches a pixel on the array. At low frequencies (less than 10 Hz), the thermal energy that is generated at that pixel will quickly move into any neighbouring pixels that have a lower temperature. This lateral conduction of heat has the effect that, over time, and in the absence of further signals, all elements will reach thermal equilibrium. Heat is also lost to the silicon beneath the array, but this is a general decay process that applies equally to all pixels, and is not part of the thermal bleed phenomenon as such.

[0033] If the correlation between two adjacent pixels is measured in the absence of any modulation, it will be very high. The correlation will also be very high if the adjacent pixels are receiving similar signals. When the signals are modulated, correlation measurements are indirectly affected by factors that affect thermal bleed levels:

[0034] 1. Frequency—low frequency modulation produces higher levels of thermal bleed than high frequency signals.

[0035] 2. Signal strength—strong signals bleed more than weak signals (although by the same fraction).

[0036] In addition to the frequency effect mentioned above, correlations calculated at zero lag are biased towards low frequency events. This is evident from FIG. 1 where a lag of equal size for both plots is illustrated by the dashed line. For low frequency events (left) we would obtain a higher level of correlation at zero lag than for a higher frequency (right).

[0037] Most importantly here, the type of modulation affects correlation measurements. It has been discovered empirically that when a stationary hot body is modulated, it is not possible to induce negative correlations in adjacent pixels at zero lag. The signals may be disturbed to a point where adjacent pixels become uncorrelated, but these do not become negatively correlated to any level of statistical significance.

[0038] For flame, experimental work has shown that adjacent pixels do show statistically significant negative correlation. It is not entirely clear why this should happen in flames and not in false alarms, but it is likely to be the result of the rapid movement of flame features in combination with the varied nature of flame flicker frequency. (Signals from moving hot black bodies can occasionally create similar correlation patterns to those generated by flames. Distinguishing these is not the intention of this work.) The incidence of these negative correlations in flame is low, but its occurrence in the presence of more dominant positive correlations is highly significant, and can be used as a way of identifying flame. Thus in image processing terms, the results of cross-correlating adjacent pixels become the data representation, and the correlation profile becomes the pattern description.

[0039] An embodiment of the invention will now be described by way of example only and with reference to the accompanying drawings in which:

[0040]FIG. 1 comprises two graphs comparing signals from two adjacent pixels, one shown in solid line and one shown in dotted line, representing events having different frequencies.

[0041]FIG. 2 shows an image formed on a 16×16 array in which two clusters of pixels possible representing flames have been identified.

[0042]FIG. 3 shows the cross correlation neighborhood for a single pixel.

[0043]FIG. 4 is a set of graphs showing the distribution of cross correlation values for a flame, a welding source and modulated sunlight.

[0044] The following describes a method that has been developed using data collected from flames and false alarms on an uncompensated IRISYS (RTM) Redeye 1 device fitted with a germanium 4.3±0.2 micron ‘flame’ filter and a 90° sapphire lens. The 16×16 element array is sampled 122 times every second. The data are subjected to a dynamic procedure in which active groups of elements, i.e. elements which might be viewing a flame, are ‘clustered’ together (not part of this invention). Any cluster that persists is submitted to analysis by a set of algorithms that look for evidence of turbulence.

[0045] As the 16×16 array data arrives it is stored (preferably for 32 frames, ˜0.25 seconds) until sufficient data exists for a single iteration of the analysis procedure. There may be more than one cluster present, (as shown in FIG. 2) so the analysis is performed for each one, and the results are maintained separately. The results from a single iteration are ‘probability of flame’ measures for each cluster.

[0046] Since flames exhibit chaotic behaviour, in the short-term the correlation results contain a large amount of natural variation. It is therefore important to generate smoothed values taken from some much longer period of time. For this reason, a history of the results is kept. The immediate results from the analysis are kept in a “histogram” type data structure. In this, each bin contains a count of the number of times a pair of pixels in the cluster produces a value for r that falls within the range of that bin. A short-term or ‘working’ histogram contains the results from the current analysis calculated over the whole cluster. The ‘history’ is kept in the form of a cyclic buffer of past histograms. All histograms have the same number of bins. If (say) 10 bins were chosen, a single histogram would be: bin 1 2 3 4 5 6 7 8 9 10 range −1.0 . . . −0.8 . . . −0.6 . . . −0.4 . . . −0.2 . . . 0.0 . . . 0.2 . . . 0.4 . . . 0.6 . . . 0.8 . . . −0.8 −0.6 −0.4 −0.2  0.0 0.2 0.4 0.6 0.8 1.0

[0047] In practice, 20 bins produce good results. As part of the clustering process, a list of all the coordinates of pixels that belong to a cluster is generated. For each of these member pixels, the population correlation coefficients r between itself and its four immediate horizontal and vertical neighbours are calculated according to equation 1, subject to the following constraints:

[0048] 1. That the neighbor exists (clearly, edge pixels have fewer neighbors)

[0049] 2. That this link has not already been calculated by another pixel (links are reciprocal).

[0050] Each time r is calculated for a pair of pixels, the results are added (binned) into the working histogram. When all pixels have been processed, the working histogram contains a profile of the short-term correlations (b) over the full range of −1 to +1 for the current time interval.

[0051] The summation is made over a fixed length period of time. The process is performed in ‘chunks’ (to reduce the amount of processing required). The first calculation is made only after this period of time has passed i.e.: there is a (very) small lag between a cluster appearing and the first calculation of r.

[0052] The process algorithm is briefly as follows:

[0053] After n frames have passed since last process (typically n=32):

[0054] 1. Select the first/next cluster.

[0055] 2. Empty the ‘working’ histogram.

[0056] a) Select the first/next pixel pair.

[0057] b) Get the (length n) time series for each pixel from time (t−n+1) to (t).

[0058] c) Calculate r.

[0059] d) Determine which bin contains the value for r. This is i.

[0060] e) Increment the count of bin i.

[0061] f) Continue from a) or end if all pixel pairs done

[0062] 3. Express bin contents as fractions of the total count.

[0063] 4. Copy working histogram to history (if full, oldest value drops off).

[0064] 5. Calculate turbulence coefficient from history.

[0065] 6. Continue from 1 or end.

[0066] In fact, it is not necessary to tie the size of the gap between processing directly to the lengths of the data time series—if required, there could be an overlap e.g.: process every 16 frames, looking back 32 frames.

[0067] Next, the values are adjusted so that they indicate the proportion of counts in each bin. This makes the algorithm invariant to cluster size. The value (d) for the ith bin becomes simply: $\begin{matrix} {d_{i} = \frac{b_{i}}{\sum\limits_{j}^{\quad}\quad b_{j}}} & (4) \end{matrix}$

[0068] Recall that the pattern for flame typically shows a large proportion of very positive correlations in conjunction with a small proportion of very negative correlations.

[0069] The graphs of FIG. 4 document three different cases: a flame, a modulated hot body and electric arc welding. The figures show the top and bottom ¼ bins of a typical working histogram state (for 41 bins) in each case. At the point at which these data are collected, the bin counts have been adjusted to express the counts as a proportion of the total in all bins (i.e. d above). Note that only the flame shows significant content in both top and bottom end bins.

[0070] The following treatment of the histogram data seeks to derive a measure that maximises sensitivity to this pattern and minimises sensitivity to non-conforming patterns.

[0071] Statistically, we have n−2 levels of freedom (n being the length of the data time-series) when considering the correlation results. For n=32 therefore, there are 30 levels of freedom. To a significance level of 0.01, bins containing values of approximately −0.5>r>0.5 are significant, so the first and last quarters of the bins are used.

[0072] The maximum value in the top (positive) quarter of the bins (d_(max)⁺)

[0073] is found and used to adjust all the first (negative) quarter bins, as: e_(i) = d_(i) ⋅ d_(max)⁺,

[0074] where i indexes the negative first quarter of (critical) bins. (5)

[0075] Intuitively described, this gives the negative end bins a larger value in the presence of high positive end presence. Some high-frequency false alarms (e.g. welding) will generate high negative bin entries, but these have lower correlation throughout. In these cases, d_(max)⁺

[0076] is low, so e_(i) becomes low also. As a side effect, high frequency (small gas) flames are also excluded.

[0077] The adjusted working histogram (e) then becomes the latest entry in the histogram history (f). If the history is full, then the oldest entry is overwritten.

[0078] At this point, the current estimate of turbulence can be made. Averaging the history for each of the critical bins and summing the results gives a reliable measure of turbulence: $\begin{matrix} {{{\overset{\_}{f}}_{i} = \frac{\sum\limits_{t = 1}^{m}\quad f_{i,t}}{m}},{{where}\quad m\quad {is}\quad {the}\quad {history}\quad {length}\quad \left( {{typically}\quad 16} \right)}} & (6) \\ {T = {\sum\limits_{i}^{\quad}\quad {\overset{\_}{f}}_{i}}} & (7) \end{matrix}$

[0079] The parameters for m (the number of entries in the history) and n (the time represented by each entry in the history) are expressed here as frames (assuming a data acquisition rate of 122 frames per second), but are related to real-time flame features. In real time, the timings translate to a total history length of four seconds, split into 16, 0.25 second intervals. This is optimal for free-burning hydrocarbon flames.

[0080] T is the measure of turbulence from which an F or ‘probability of flame’ measure can be derived (the scale is set empirically). For free-burning hydrocarbon fuels, such as petrol, F is calculated in the range 0 to 1 as:

1≧500.T≧0  (8)

[0081] For analysis over longer periods of time, F is further smoothed using exponential averaging:

F′(t)=a.F(t)+(1−a).F′(t−1), (Typically, a=0.5)  (9)

[0082] At F=0 there is zero probability of flame. When F=1, flame is certain. F=0.2 is a good, practical threshold if a ‘hard’ decision is required.

[0083] The whole process is summarized in the algorithm description below.

[0084] Algorithm

[0085] 1. Every n (e.g. 32) frames

[0086] a. For each cluster c

[0087] i. For new clusters, zero histogram history for c

[0088] ii. Zero working (short-term) histogram

[0089] iii. For each pixel in the cluster

[0090] 1. Calculate r between all pairs of adjacent pixels over n frames.

[0091] 2. ‘Bin’ counts into the working histogram

[0092] iv. Calculate the fraction of entries in each working bin (d_(i))

[0093] v. Correct critical low end bins using high end correlation (e_(i))

[0094] vi. Update long term histogram history using results from v (f_(i.t))

[0095] vii. Calculate a mean value ({overscore (ƒ)}) for each critical bin based on the last m entries in the history (e.g.: m=16)

[0096] viii. Calculate overall “turbulence” coefficient (T).

[0097] ix. Generate “probability of flame” measure (F) from 0

[0098] b. Continue

[0099] 2. Continue

[0100] While the foregoing is directed to embodiments of the present invention, other and further embodiments of the invention may be devised without departing from the basic scope thereof, and the scope thereof is determined by the claims that follow. 

1. A method of identifying the presence of turbulence in a fluid comprising: forming a two dimensional image of at least part of the fluid divided into a two dimensional array of pixels; periodically obtaining a signal indicating the amount of radiation emitted from each part of the fluid corresponding to a pixel; for each pair of adjacent pixels, periodically calculating a coefficient relating to the correlation of signals from the two pixels in the pair; examining the distribution of correlation coefficient values; and identifying whether turbulence is present on the basis of the relative proportions of positive and negative correlation values.
 2. A method as claimed in claim 1 in which the image of the fluid is formed on a two dimensional array of thermal detector elements, each element corresponding to a pixel.
 3. A method as claimed in claim 1 in which the detector elements are not completely thermally isolated whereby some thermal energy detected by on element is conducted to the elements adjacent to that element.
 4. A method as claimed in claim 3 in which the detector array is constructed from a single piece of material.
 5. A method as claimed in claim 1 in which only the populations of a range of the largest positive correlation values and a range of the largest negative correlation values are used in order to determine whether turbulence is present in the fluid.
 6. A method as claimed in claim 1 in which, in order to examine the distribution of correlation values, the values are collected into bins, each bin representing a correlation value range; and the value d in each bin is multiplied by the maximum value of d in a predetermined range of values including the maximum possible correlation value, to obtain an adjusted bin value e_(i) in which i represents bin number.
 7. A method as claimed in claim 6 in which a turbulence coefficient T is calculated from the sum of bin values.
 8. A method as claimed in claim 7 in which T is calculated from the following equations: $T = {\sum\limits_{i}^{\quad}\quad {\overset{\_}{f}}_{i}}$

${{\overset{\_}{f}}_{i} = \frac{\sum\limits_{t = 1}^{m}\quad f_{i,t}}{m}},$

where m is history length and f represents values of e stored in a correlation history.
 9. A method as claimed in claim 1 in which the population correlation coefficient r is defined by the equation: r=C(x, y)/s _(x) s _(y) where the covariance ${{C\left( {x,y} \right)} = {\sum\limits^{\quad}\quad {\left( {x - \overset{\_}{x}} \right){\left( {y - \overset{\_}{y}} \right)/\left( {n - 1} \right)}}}},$

n is the length of the time series over which r is calculated and x and y represent different pixels. s_(x) and s_(y) are the standard deviations for x and y.
 10. A method of determining whether a hot body is a flame using the method of claim
 1. 11. A method as claimed in claim 10 in which the distribution of correlation coefficient values is used to determine a figure F representing the probability that fluid is a flame on the basis that a flame is characterized by a significant proportion of negative correlation values in the presence of large positive correlation values.
 12. A method as claimed in claim 8 in which the distribution of correlation coefficient values is used to determine a figure F representing the probability that fluid is a flame on the basis that a flame is characterized by a significant proportion of negative correlation values in the presence of large positive correlation values including deriving a scale of turbulence coefficients T and the probability F that a fluid is a flame on the basis of past experimental results and using the scale to determine a value indicating that a fluid being viewed is a flame.
 13. A method as claimed in claim 10 for detecting a flame in a scene including forming a two dimensional image of the scene divided into a two dimensional array of pixels, and identifying a cluster of pixels that may include a flame, the cluster being the two dimensional image of the fluid.
 14. A method as claimed in claim 12 for detecting a flame in a scene including forming a two dimensional image of the scene divided into a two dimensional array of pixels, and identifying a cluster of pixels that may include a flame, the cluster being the two dimensional image of the fluid. 